<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  <div class="right">
      <div class="location">
          <strong>当前位置:</strong>
          <span>供货商管理页面 >> 供货商修改页</span>
      </div>
      <div class="supplierAdd">
          <form id="supplierForm" name="supplierForm" method="post" action="${pageContext.request.contextPath }/supplier/update">

              <input type="hidden" name="id" value="${supplier.id }">
              <input type="hidden" name="createdtime" value="${supplier.createdtime}">
              <!--div的class 为error是验证错误，ok是验证成功-->
              <div class="">
                  <label for="supCode">供货商编码：</label>
                  <input type="text" name="supcode" id="supCode" value="${supplier.supcode }" readonly="readonly">
              </div>
              <div>
                  <label for="supName">供货商名称：</label>
                 <input type="text" name="supname" id="supName" value="${supplier.supname }">
			<font color="red"></font>
              </div>
              
              <div>
                  <label for="supPhone">联系电话：</label>
                  <input type="text" name="supphone" id="supPhone" value="${supplier.supphone }">
			<font color="red"></font>
              </div>
              <div>
                  <label for="supContact">联系人：</label>
                  <input type="text" name="supcontact" id="supContact" value="${supplier.supcontact }">
                  <font color="red"></font>
              </div>

              <div>
                  <label for="supAddress">联系地址：</label>
                  <input type="text" name="supaddress" id="supAddress" value="${supplier.supaddress }">
              </div>
              
              <div>
                  <label for="supFax">传真：</label>
                  <input type="text" name="supfax" id="supFax" value="${supplier.supfax }">
              </div>
              
              <div>
                  <label for="supDesc">备注：</label>
                  <input type="text" name="supdesc" id="supDesc" value="${supplier.supdesc }">
              </div>

              <div class="supplierAddBtn">
                  <input type="button" name="save" id="save" value="保存">
				  <input type="button" id="back" name="back" value="返回" >
              </div>
          </form>
      </div>
  </div>
</section>
<%@include file="/WEB-INF/jsp/common/foot.jsp"%>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/supplier/update_1.js"></script>